
// AIRSPEED_SENSOR
#define AIRSPEED_SENSOR		ENABLED

// MAGNETOMETER (COMPASS)
#define MAGNETOMETER				ENABLED
#define MAGNETOMETER_ORIENTATION	APM_COMPASS_PINS_BACK

#define FLIGHT_MODE_CHANNEL	8
#define FLIGHT_MODE_0		UNKNOWN
#define FLIGHT_MODE_1		DIRECT
#define FLIGHT_MODE_2		MANUAL
#define FLIGHT_MODE_3		STABILIZE
#define FLIGHT_MODE_4		FLY_BY_WIRE_A
#define FLIGHT_MODE_5		FLY_BY_WIRE_B
#define FLIGHT_MODE_6		LOITER

// Define the pulse width when to switch to next higher FLIGHT_MODE
#define FLIGHT_MODE_1_BOUNDARY	1880
#define FLIGHT_MODE_2_BOUNDARY	1690
#define FLIGHT_MODE_3_BOUNDARY	1550
#define FLIGHT_MODE_4_BOUNDARY	1335
#define FLIGHT_MODE_5_BOUNDARY	1125




